/*
 * @Author: szx
 * @Date: 2022-03-25 12:31:19
 * @LastEditTime: 2022-03-25 12:36:27
 * @Description: 
 * @FilePath: \leetcode\100-199\172\172.js
 */
var trailingZeroes = function(n) {
    let ans = 0;
    while (n !== 0) {
        n = Math.floor(n / 5);
        ans += n;
    }
    return ans;
};
